package BridgeModel;

public class Client {
    public static void main(String[] args) {
        String text = "Write Test";

        Color red = new Red();
        Pen pen = new SmallPen();
        pen.setColor(red);
        pen.draw(text);

        Color green = new Green();
        pen = new BigPen();
        pen.setColor(green);
        pen.draw(text);

        Color blue = new Blue();
        pen = new MiddlePen();
        pen.setColor(blue);
        pen.draw(text);
    }
}
